<?php if(!defined('PHPOK_SET')){die('<h3>Error...</h3>');}?><?php QG_C_TEMPLATE::p("global_head","","0");?>
<?php QG_C_TEMPLATE::p("right.css","","0");?>
<?php QG_C_TEMPLATE::p("right.head","","0");?>

<div class="table table1" style="padding-top:3px;padding-bottom:3px;">
&nbsp;<a href="admin.php?file=index">系统首页</a>
&raquo; <a href="<?php echo $r_url;?>&act=list">系统组管理</a>
<input type="button" value="创建新组" onclick="qgurl('<?php echo $r_url;?>&act=add');">
</div>

<script language="JavaScript">
function delete_confirm(aaa)
{
	question = confirm("确认删除该系统组吗？特别说明，删除前请将该组的信息删除！\n\n\t删除后无法恢复！");
	if (question != "0")
	{
		var url = "<?php echo $r_url;?>&act=delete&id="+aaa;
		qgurl(url);
	}
}
</script>

<?php $_i=0;$rslist=(is_array($rslist))?$rslist:array();foreach($rslist AS  $key=>$value){$_i++; ?>
<div class="table" onmouseover="this.className='table table1'" onmouseout="this.className='table'" id="list_id_<?php echo $value[id];?>">
<table width="100%">
<tr>
	<td class="left listinfo">[id:<?php echo $value[id];?>] <?php echo $value[groupname];?></td>
	<td class="right listact">
		<a href="#" class="mybutton_01" onclick="qgurl('<?php echo $r_url;?>&act=modify&id=<?php echo $value[id];?>');">编辑</a>
		<a href="#" class="mybutton_01" onclick="delete_confirm(<?php echo $value[id];?>);">删除</a>
		<a href="#" class="mybutton_01" onclick="qgurl('<?php echo $r_url;?>&act=list&sysgroupid=<?php echo $value[id];?>');">分类管理</a>
		<a href="#" class="mybutton_01" onclick="qgurl('<?php echo $r_url;?>&act=add&sysgroupid=<?php echo $value[id];?>');">添加分类</a>
		<a href="#" class="mybutton_01" onclick="qgurl('admin.php?file=msg&act=list&sysgroupid=<?php echo $value[id];?>');">内容管理</a>
		<a href="#" class="mybutton_01" onclick="qgurl('<?php echo $r_url;?>&act=add&sysgroupid=<?php echo $value[id];?>');">添加内容</a>
	</td>
</tr>
</table>
</div>
<?php } ?>

<?php QG_C_TEMPLATE::p("foot","","0");?>